Autofocusing optical imaging device

ABSTRACT

An optical imager includes: an image sensor for capturing images of targets and outputting image signals; a lens for focusing the target on the image sensor as a function of lens position; a memory for storing predetermined lens positions determined from predetermined target sizes; and a controller for determining current target size based on captured images and positioning the lens at a predetermined lens position by correlating current target size with predetermined target sizes.

FIELD OF THE INVENTION

The present invention relates to optical imaging devices, and more particularly to an optical imaging device with an improved lens focusing system.

BACKGROUND

Optical imaging devices receive light from a target with an image sensor that outputs image data which is interpreted by a processor which performs signal and/or image processing.

Often times an optical imager may be portable and wireless in nature thereby providing added flexibility. In these circumstances, such imagers form part of a wireless network in which data collected within the terminals is communicated to a host computer situated on a hardwired backbone via a wireless link. For example, the imagers may include a radio or transceiver for communicating with a remote computer.

Efforts regarding such systems have led to continuing developments to improve their versatility, practicality and efficiency.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an exemplary optical imaging system.

FIG. 2 is a fragmentary partially cutaway side view of an exemplary optical imager having an imaging module.

FIG. 3 is a block schematic diagram of an exemplary optical imager.

FIG. 4 is a perspective assembly view of an exemplary imaging module assembly.

FIG. 5 is a perspective assembly view of an exemplary imaging module assembly.

FIG. 6 is a flowchart of an exemplary method of operating an optical imager.

FIG. 7 is a flowchart of an exemplary method of operating an optical imager.

DETAILED DESCRIPTION

Reference will now be made to exemplary embodiments which are illustrated in the accompanying drawings. Other embodiments may be in various forms and the exemplary embodiments should not be construed as limited to the embodiments set forth herein. Rather, these representative embodiments are described in detail so that this disclosure will be thorough and complete, and will fully convey the scope, structure, operation, functionality, and potential applicability to those skilled in the art. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. The term “scan” or “scanning” used herein refers to imaging or extracting data from an information bearing optical (or symbol). The term imaging used herein refers to the taking, capturing or creation of an electronic image.

FIG. 1 illustrates an exemplary imaging system configuration, wherein a plurality of optical imagers 112 may be operated and utilized where information bearing optical (IBI) are present. The optical imagers may be stationary or hand-held devices, utilizing image capturing devices for extracting data from targets.

An operator may aim a hand-held optical imager 112 at a target and actuate a button or trigger 115 on the optical imager to control full or partial operation of the imager. The imager may be utilized in a presentation mode, wherein the imager takes consecutive images without the need for trigger activation.

An exemplary optical imager 112 may be a mobile device, such as a hand held scanner, a portable data terminal (PDT), personal digital assistant (PDA), mobile phone, etc. A Portable Data Terminal, or PDT, is typically an electronic device that is used to enter or retrieve data via wireless transmission (WLAN or WWAN) and may also serve as an optical imager used in stores, warehouse, hospital, or in the field to access a database from a remote location. Personal Digital Assistants (PDAs) are handheld devices typically used as a personal organizer, and may have many uses such as calculating, use as a clock and calendar, playing computer games, accessing the Internet, sending and receiving E-mails, use as a radio or stereo, video recording, recording notes, use as an address book, etc. An exemplary optical imager may have a display 116. An exemplary optical imager 112 may have a number of subsystems provided within a housing 117 configured to be hand held. For example, the imager may have a handle portion 111.

Exemplary optical imagers may be in communication (wired or wireless) to a local transaction processing system 140, such as a cash register, customer station or employee station or local host/server 125 directly or through a charging station or base 138. An exemplary local server 125 or optical imager 112 may be in communication with network 120 and or a remote/web server 134.

FIG. 2 illustrates an enlarged fragmentary cross-sectional view of an exemplary optical or optical imager 112 which may include an imaging assembly 110 packaged in a housing 117.

Referring to FIG. 3, an exemplary imaging system may include an imaging assembly 110 which may include an image sensor device 132. An exemplary image sensor device 132 converts light or other electromagnetic energy reflected off of a target and provides an output signal representative thereof. Image sensors may be an array of pixels adapted to operate in a global shutter or full frame shutter, mode or alternately operate in a rolling shutter mode. It may be a color or monochrome 2D solid state image sensor implemented in any of CCD, CMOS, NMOS, PMOS, CID, CMD, back-illuminated technologies. The imager may be either a progressive or interleaved imager. The image sensor may contain an array of light sensitive photodiodes (or pixels) that convert incident light energy into electric charge. Many solid state image sensors also allow regions of a full frame of image data to be addressed.

An exemplary image sensor may use a monocolor image sensor that may include a filter element defining color sensitive pixel elements dispersed throughout an array of monochrome pixels. Operation of the monocolor image sensor is to subsample color images (monochrome or full color) utilizing associated optimal sensor settings for image capture or symbology scanning. Exemplary monocolor image sensors are described in U.S. Patent Publication Number 20060274171 entitled DIGITAL PICTURE TAKING OPTICAL IMAGER HAVING HYBRID MONOCHROME AND COLOR IMAGE SENSOR ARRAY the entirety of which is hereby incorporated herein by reference.

An exemplary image sensor device may include an image sensor processor, an analog to digital converter (ADC) and other circuitry.

Imaging assembly 110 may include a programmable control circuit or imaging device processor 152, which may control the amount of illumination provided by LEDs 16 by controlling the output power provided by LED power supplies 123. Processor 152 may also control other functions and devices, such as aimer power supplies for powering aimer LEDs 18. Processor 152 may include a predetermined amount of memory for storing data and configurable blocks of analog and digital logic, as well as programmable interconnects.

Illuminating optics (not shown), aimer optics components 25, (such as lenses, diffusers, wedges, reflectors, etc.) may be utilized for directing light in the direction of a target object T. Laser or light emitting diodes (LEDs) such as white LEDs or red, infrared LEDs may be utilized. Illumination may be eliminated or disabled if ambient light levels are high enough to allow high quality images of object T to be taken. Illumination may also be located remote from the imaging device so as to eliminate or reduce specular reflections.

In an exemplary embodiment, an imaging assembly includes imaging optics 40 for focusing light from a target onto image sensor device 132. Image imager assembly 114 has imaging optics or lens 40 having an optical axis (OA) for receiving light reflected from a target T and directing or projecting the reflected light from the target T to image sensor 132. The optical axis is a line of symmetry through the imaging optics.

The imaging optics 40 has a focal point wherein parallel rays of light coming from infinity converge at the focal point. If the focal point is coincident with the image sensor, the target (at infinity) is “in focus”. A target T is said to be in focus if light from target points are converged about as well as desirable at the image sensor. Conversely, it is out of focus if light is not well converged. “Focusing” is the procedure of adjusting the distance between the receive optics and the image sensor to cause the target T to be approximately in focus.

An exemplary imaging assembly 110 illustrated in FIG. 4 may include imaging receive optics 40 disposed or contained within a generally cylindrical barrel 202. Barrel 202 is slidably disposed or contained within a generally cylindrical sleeve 206. Sleeve 206 is secured to an imager assembly body 210 which may provide a platform for, amongst other items, the image sensor 132. When barrel 202 is moved axially within sleeve 204, the imaging optics 40 may be brought in and out of focus with the image sensor 132. Imaging optics 40 may therefore be positioned to a precise desired location within sleeve 206 in order to bring the target in focus with the image sensor. The barrel 202 is inserted into sleeve 206 and rotated to change the position of optics 40 along the optical axis OA to precisely locate optics 152 at a desired location relative to image sensor 132. The barrel may be moved within the sleeve utilizing an image optics controller (not shown in FIG. 4).

Referring to FIG. 3, imaging optics 40 may be focused utilizing an imaging optics controller 141, which is controlled by a processor, such as processor 152 or an independent processor, which may employ autofocus software logic. Autofocus logic may move the lens mechanism through a range of motion, distance or positions, sampling images at different positions while attempting to determine an optimal focal point or position. The imaging optics controller may have a drive mechanism or device that is capable of moving the lens to different positions within a maximum range of position or motion.

In an exemplary embodiment, the range of motion the autofocus logic will use to determine an optimal focal point is limited or less than the maximum range of motion based on the size of the item or target being imaged and/or the approximated distance from the imager. Reducing the distance the lens moves during an autofocus cycle to a range that is likely to provide an in focus image based on various input an in focus high quality image may be captured in a shorter time period.

In an exemplary embodiment, the optimal focal point or setting for imaging various targets or items is determined empirically through experimentation. These focal points are stored in memory and used as a center point for minimum and maximum values used to constrain the autofocus logic. The autofocus logic uses these minimum and maximum values to limit lens travel during the autofocus cycle less than the maximum amount of travel the lens is capable of moving. The minimum and maximum values may be provided to the autofocus logic through a variety of methods.

An exemplary embodiment for operating an image imager illustrated in FIG. 5 comprises: capturing an image of a target in a setup mode; determining the proper focus setting or point to bring the target in focus with the image sensor; record the position of lens for the focus setting; determine if a certain number of predetermined lens positions been stored; establish a limited lens position range based on the stored lens positions; capturing an image of a target in an autofocusing mode; moving the lens position within the lens position range to find the proper focus setting; capturing an image of the target at the proper focus setting; and processing the image.

In an exemplary embodiment, the range of distances the autofocus logic will use to position the lens is based on the center point of the recorded lens positions.

In an exemplary embodiment, the range of distances the autofocus logic will use to position the lens is based on the size of the item being imaged.

In an exemplary embodiment, the range of distances the autofocus logic uses to position the lens is based on the approximate distance of the item from the imager.

In an exemplary embodiment, the optimal focal point for imaging various items is determined through experimentation.

In an exemplary embodiment, the optimal focal points for imaging various items are used as a center point for minimum and maximum values that may be used by the autofocus logic to constrain or limit the lens autofocusing range of motion or travel.

Reducing the distance the lens moves during an autofocus cycle to a range that is most likely to provide an in focus image may be captured in a shorter time period.

An exemplary embodiment for operating an image imager illustrated in FIG. 6 comprises: capturing an image of a target in a setup mode; determining the size of a target in the image; finding the proper focus setting for the target; recording the position of the optical lens for that focus setting; determining whether desired number of lens positions been recorded and if so; capturing another image in an operating mode; moving the lens position between the minimum and maximum previously recorded lens positions to find proper focus setting for the image taken and capturing another image at the proper focus setting and processing the image, wherein the minimum and maximum recorded lens positions represents a distance or motion which is less than the maximum lens motion the lens is capable of moving.

An optical imager autofocusing system is described in United States Patent Application Publication Number 20100044440 entitled SYSTEM AND METHOD TO AUTOMATICALLY FOCUS AN IMAGE IMAGER, which is hereby incorporated herein in it's entirety.

An exemplary method of operating an optical imager comprises: a) focusing light from a target on an image sensor utilizing a lens; b) capturing a test image of the target in a setup mode with the image sensor; c) determining the size of a target from the image; d) moving the lens to determine the proper focus setting of the lens with the image sensor as a function of the target size; e) storing the position of the lens for the determined proper focus setting; f) determining whether a desired number of lens positions have been stored for a plurality of target sizes; g) repeating steps a through g if step f is determined negative; h) capturing an operating image in an operating mode if step f is determined positive; i) moving the lens between the minimum and maximum previously recorded lens positions to obtain the proper focus setting for the operating image; j) capturing another image at the proper focus setting; and, k) processing the operating image, wherein the minimum and maximum recorded lens positions represents a motion range which is less than the maximum possible optical imager lens motion range.

An exemplary optical imager includes: an image sensor for capturing images of targets and outputting image signals; a lens for focusing the target on the image sensor as a function of lens position; a memory for storing predetermined lens positions determined from predetermined target sizes; and a controller for determining current target size based on captured images and positioning the lens at a predetermined lens position by correlating current target size with predetermined target sizes.

An exemplary controller further determines current target distance and positions the lens at the predetermined lens position by correlating current target distance with predetermined target distances.

In an exemplary embodiment, the predetermined lens positions define a predetermined lens motion range and the controller positions the lens within the predetermined lens motion range, the predetermined lens motion range being smaller than the actual lens motion range.

In an exemplary embodiment, the controller begins lens positioning at a center of the predetermined lens motion range.

Other exemplary imager subsystems or components supported by the housing may include one or more local or on board processor(s) 170, local memory 172, a battery 218, a display 116, a key pad 214 and a wireless communications module 180. The subsystems may communicate via one or more bus 168, 169, data lines or other signal or data communication form. The optical imager may communicate with one or more local processor(s) 118, a local host/server 125, local memory 166, network 120 or remote server host/server 134.

Communications module 180 may provide a communication link from imaging imager 112 to other optical imagers or to other systems such as a server/remote processor 134.

An exemplary processor may be a mixed-signal array with on-chip controller devices designed to replace multiple traditional MCU-based system components with one single-chip programmable device. It may include configurable blocks of analog and digital logic, as well as programmable interconnects.

The processor(s) may include a predetermined amount of memory for storing firmware and data. The firmware may be a software program or set of instructions embedded in or programmed on the processor(s) which provides the necessary instructions for how the processor(s) operate and communicate with other hardware. The firmware may be stored in the flash memory (ROM) of the processor(s) as a binary image file and may be erased and rewritten. The firmware may be considered “semi-permanent” since it remains the same unless it is updated. This firmware update or load may be handled by a device driver.

The processor(s) may be utilized to perform a number of functional operations, which may involve the performance of a number of related steps, the particulars of which may be determined by or based upon configuration settings stored in firmware or memory which may be any one of a number of memory types such as RAM, ROM, EEPROM, etc. In addition some memory functions may be stored in memory provided as part of the processor(s). Configuration settings may be arranged as parameter tables.

Exemplary functions of the processor(s) may be controlling operation the scan engine including lens focusing, decoding functions and operator interface functions. Operating software may be utilized to operate the processor(s) for such functions seemingly simultaneously or in a multitasking role. An exemplary image imager operating software architecture may be organized into processes or threads of execution.

Processor(s), memory and associated circuitry which perform or control the exemplary scan and decoding functions may be provided in the scan engine or on associated circuit boards which are located within the housing of the imager. Decoding is a term used to describe the interpretation of a machine readable code contained in the photodetector output signal. The processor(s) may be located on board or within the housing with other subsystems.

An exemplary function of the processor(s) may be to decode machine readable symbology provided within the target or captured image. One dimensional symbologies may include very large to ultra-small, Code 128, Interleaved 2 of 5, Codabar, Code 93, Code 11, Code 39, UPC, EAN, MSI, or other 1D symbologies. Stacked 1D symbologies may include PDF, Code 16K, Code 49, or other stacked 1D symbologies. 2D symbologies may include Aztec, Datamatrix, Maxicode, QR-code, or other 2D symbologies.

Operation of the decoding, which may be executed in a user or factory selectable relationship to a scanning routine, may be governed by parameters or configuration settings. Combinations of scanning and decoding parameters together define scanning-decoding relationships or modes which the imager will use.

Two exemplary scanning modes may be continuous or discontinuous. In the continuous mode (also referred to as continuous scanning mode, continuous streaming mode, streaming mode, fly-by scanning mode, on the fly scanning mode or presentation mode) the imager is held in a stationary manner and targets (such as symbols located on packages) are passed by the imager. In the continuous mode, the imager takes continuous scans one after another (seriatim) and continuously decodes or attempts to decode some or all scanned targets. Discontinuous mode is a mode wherein scanning and/or decoding stops or is interrupted and initiated with an actuation event, such as pulling of a single pull trigger 115, a timeout, or a successful read to restart. An exemplary utilization of the imager in discontinuous mode is via hand held operation. Decoding stops once the optical imager is no longer triggered. The discontinuous mode is typically initiated because the operator knows a symbol is present.

Exemplary optical imagers may use memory or firmware to store imager settings or imager configuration settings.

Exemplary configuration settings are:

the current port utilized to send output data over

address buffer space in which scan data will be stored

whether scanning is to be continuous or discontinuous

codes which are enabled for processing

aiming pattern center coordinates

aimer configuration

aiming system power output

optical imager configuration

optical imager orientation

number of pixels in the image to be used for initializing buffers

engine orientation

field illumination

information regarding lens distortions

information regarding image distortion

dead or bad imager pixels

image sensor noise corrections within the image processing algorithm

Illumination LED current

receiving lens prescription or parameters

whether the imager is enabled for image capture

what type of decoder level is enabled

what types of symbology decoding is enabled

scanning distance

trigger functionality

pre-defined bar code output data based on the scan input

continuous scanning mode

discontinuous scanning mode or routine

decoding mode or routine

I/O configurations

min/max symbology character lengths

scan engine selection

illumination control

settings that affect the functional operation of the processor(s)

aimer operation

engine orientation

illumination

photosensor control

speaker control

beeper control

notification LED control

software control

sales tracking

warranty tracking

scanner capabilities

exposure gain

Imagers may be programmed by means of bar codes menus, via serial connection using serial commands or via wireless communication. A GUI interface may be utilized for creating or imaging serial commands, such as Visual Menu or similar such product. This may be done locally or remotely by connecting the imager either directly or through a network (such as the internet) to a remote computer and having the remote computer provide software upgrades.

An exemplary lens position controller may utilize a software program or software logic. Exemplary programming methods may be a sequence of steps or actions leading to a desired result and may be implemented as software. While it may prove convenient to discuss such software as if were embodied by a single program, most implementations will distribute the described functions among discrete (and some not so discrete) pieces of software. These pieces are often described using such terms of art as “programs.” “objects.” “functions.” “subroutines,” “libraries,” “.dlls.” “APIs.” and “procedures.” While one or more of these terms may find favor in the present description, there is no intention to limit the invention to the described configurations.

In general, the sequences of steps in the present methods require physical manipulation of physical quantities. These quantities take the form of optical, electrical or magnetic signals capable of being stored, transferred, combined, compared or otherwise manipulated. These signals are referred to as “bits”, “values”, “elements”, “symbols”, “characters”, “images”, “terms”, “numbers”, or the like.

There exist a variety of platforms and languages for creating software. Exemplary embodiments may be implemented using VBSCRIPT® (a trademark of Microsoft Corporation), JAVA™ (a trademark of Sun Microsystems, Inc.), PYTHON™ (a trademark of Python Software Foundation) or any number of varieties of C. The choice of platform and language is often dictated by the specifics of the actual system constructed, such that what may work for one type of system may not be efficient on another system.

Referring to FIG. 4, an exemplary imaging module 110 may include a light source 16 for illuminating a target. The light source is located a distance away from a lens 40, which focuses light being received from the target on an image sensor 32.

Imaging module 110 may include a first board 14 a carrying such things as an image sensor 32 typically provided by an image sensor chip and aiming light sources 18, an imager processor, memory, etc. and a second circuit board 14 b for carrying such things as illumination light sources 16. The first and second circuit boards 14 a and 14 b are supported by a support assembly 80. Support assembly 80 may include a containment section for containing image sensor 32 and an integrated retainer section 82 for retaining a lens or optics assembly 40 having a lens 44 retained by a lens housing 42. Imaging module 110 further may include an optical plate 26 which serves as a light pipe to carry various emitted light for aiding in the development of a substantially uniform illumination pattern over a target area corresponding to a field of view of image sensor 32. Aiming optic 25 aids in the projection of an aiming pattern on a target area.

It should be understood that the programs, processes, methods and apparatus described herein are not related or limited to any particular type of computer or network apparatus (hardware or software). Various types of general purpose or specialized computer apparatus may be used with or perform operations in accordance with the teachings described herein. While various elements of the preferred embodiments have been described as being implemented in software, in other embodiments hardware or firmware implementations may alternatively be used, and vice-versa. The illustrated embodiments are exemplary only, and should not be taken as limiting the scope of the present invention. For example, the steps of the flow diagrams may be taken in sequences other than those described, and more, fewer or other elements may be used in the block diagrams. Also, unless applicants have expressly disavowed any subject matter within this application, no particular embodiment or subject matter is considered to be disavowed herein.

The claims should not be read as limited to the described order or elements unless stated to that effect. In addition, use of the term “means” in any claim is intended to invoke 35 U.S.C. §112, paragraph 6, and any claim without the word “means” is not so intended. Therefore, all embodiments that come within the scope and spirit of the following claims and equivalents thereto are claimed as the invention. 

1. A method of operating an optical imager comprising: (a) capturing a plurality of images of test targets with an image sensor utilizing a lens to focus the test targets; (b) positioning the lens to determine the proper focus setting of the lens with the image sensor; (c) storing the position of the lens for the determined proper focus setting; (d) determining whether a desired number of lens positions have been stored; (e) repeating steps (a) through (d) if step (f) is determined negative; (f) capturing an operating image in an autofocus mode if step (f) is determined positive; (g) moving the lens between the minimum and maximum previously recorded lens positions to obtain the proper focus setting for the operating image; (j) capturing a focused image at the proper focus setting; and, (k) processing the focused image, wherein the minimum and maximum recorded lens positions represents a motion range which is less than the maximum possible optical imager lens motion range.
 2. A method of operating an optical imager in accordance with claim 1, wherein the lens is slidably disposed within a generally cylindrical sleeve.
 3. A method of operating an optical imager in accordance with claim 2, wherein the barrel is moved within the sleeve utilizing a lens controller.
 4. A method of operating an optical imager in accordance with claim 1, wherein the lens is disposed within a generally cylindrical barrel that is slidably disposed within a generally cylindrical sleeve and the barrel is moved axially within the sleeve to bring the target in proper focus with the image sensor.
 5. A method of operating an optical imager in accordance with claim 1, wherein the lens is disposed within a generally cylindrical barrel that is slidably disposed within a generally cylindrical sleeve and the barrel is moved axially within the sleeve to bring the target in proper in focus with the image sensor.
 6. A method of operating an optical imager in accordance with claim 1, wherein the lens is moved during the operating mode utilizing an imaging optics controller executing autofocus software logic.
 7. A method of operating an optical imager in accordance with claim 1, further comprising approximating distance of the target from the optical imager.
 8. A method of operating an optical imager in accordance with claim 1, wherein the stored lens positions are used to determine a center point for the lens motion range.
 9. A method of operating an optical imager in accordance with claim 1, wherein image processing comprises decoding information bearing optical present in the operating image.
 10. An optical imager comprising: an image sensor for capturing images of targets and outputting image signals; a lens for focusing the target on the image sensor at focus points as a function of lens position; a memory for storing predetermined lens positions determined from the focus points; and, a controller for using the lens positions as a center point for minimum and maximum values that can be used to constrain the autofocus logic.
 11. An optical imager in accordance with claim 10, wherein the lens is slidably disposed within a generally cylindrical sleeve.
 12. An optical imager in accordance with claim 10, wherein the controller further determines current target distance and positions the lens at the focus points by correlating current target distance with predetermined target distances.
 13. An optical imager in accordance with claim 10, wherein the focus points define a predetermined lens motion range and the controller positions the lens within the predetermined lens motion range, the predetermined lens motion range being smaller than the actual lens motion range.
 14. An optical imager in accordance with claim 10, further comprising a decoder for decoding information bearing optical present in the captured image. 